<%@ page contentType="text/html; charset=utf-8" %>
<%@ include file="/WEB-INF/jsp/includeTaglib.jsp" %>
          <tr>
            <td>
              <table class="dbborder" width="100%" border="0" cellpadding="0" cellspacing="1">
                <tr class="rowHead">
                  <td height="20" width="5%" align="center"><input type="checkbox" id="checkAll" onclick="javascript:checkAllOrNot();"></td>
                  <td height="20" width="12%" nowrap align="center" class="globalTextBold">顺序号</td>
                  <td height="20" width="7%" nowrap align="center" class="globalTextBold">通信日期</td>	
                  <td height="20" width="7%" nowrap align="center" class="globalTextBold">通信编号</td>	
                  <td height="20" width="7%" nowrap align="center" class="globalTextBold">客户名称</td>	
                  <td height="20" width="7%" nowrap align="center" class="globalTextBold">发车单号</td>	
                  <td height="20" width="7%" nowrap align="center" class="globalTextBold">运单号</td>	
                  <td height="20" width="2%" nowrap align="center" class="globalTextBold">通信方式</td>	
                  <td height="20" width="7%" nowrap align="center" class="globalTextBold">通信号码</td>	
                  <td height="20" width="7%" nowrap align="center" class="globalTextBold">通信内容</td>	
                  <td height="20" width="7%" nowrap align="center" class="globalTextBold">通信状态</td>	
                  <td height="20" width="7%" nowrap align="center" class="globalTextBold">发送时间</td>	
                  <td height="20" width="7%" nowrap align="center" class="globalTextBold">分公司</td>	
                  <td height="20" width="5%" nowrap align="center" class="globalTextBold">操作员</td>							
                </tr>
                <c:if test="${empty logTemplates}">
                 <tr class="rowEven">
                  <td colspan="7" align="center" class="globalText">无数据</td>
                 </tr>
								</c:if>
                <c:forEach var="logTemplate" items="${logTemplates}" varStatus="status">
                 <c:choose>
                  <c:when test="${status.index % 2 == 0}">
                  <tr class="rowEven">
                  </c:when>
                  <c:otherwise>
                  <tr class="rowOdd">
                  </c:otherwise>
                 </c:choose>
                   <td height="20" width="5%" align="center"><input type="checkbox" name="cbIds" value="${logTemplate.id}" onclick="javascript:checkPerBox();"></td>
                   <td height="20" class="globalText">${logTemplate.id}</td>
                   <td height="20" class="globalText"><fmt:formatDate value="${logTemplate.communicationDate}" pattern="yyyy-MM-dd hh:mm"/></td>
                   <td height="20" class="globalText">${logTemplate.customId}</td>
                   <td height="20" class="globalText">${logTemplate.clientName}</td>
                   <td height="20" class="globalText">${logTemplate.truckId}</td>
                   <td height="20" class="globalText">${logTemplate.carryId}</td>
                   <td height="20" class="globalText">${logTemplate.communicationMode == 'sms' ? '短信' : '语音'}</td>
                   <td height="20" class="globalText">${logTemplate.communicationNumber}</td>
                   <td height="20" class="globalText">${logTemplate.communicationContent}</td>
                   <td height="20" class="globalText">
                   <c:if test="${logTemplate.communicationFlag == 'S00'}">未发送</c:if>
                   <c:if test="${logTemplate.communicationFlag == 'S0B'}">正在发送</c:if>
                   <c:if test="${logTemplate.communicationFlag == 'S0S'}">发送完成</c:if>
                   </td>
                   <td height="20" class="globalText">${logTemplate.communicationTime}</td>
                   <td height="20" class="globalText">${logTemplate.bdepartment}</td>
                   <td height="20" class="globalText">${logTemplate.modifyUser}</td>
                 </tr>
									<%--@ include file="/WEB-INF/jsp/includePagedDisplay.jsp" --%>
                </c:forEach>
              </table>
            </td>
          </tr>